﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ElectronicsMarket_Desktop.EMServices;

namespace ElectronicsMarket_Desktop.BL
{
  public  class ReceptDetailBL
    {
      ServicesReleaseSoapClient services;
      RECEIPT_DETAIL _receipdetail;

      public RECEIPT_DETAIL Receipdetail
      {
          get { return _receipdetail; }
          set { _receipdetail = value; }
      }
      public ReceptDetailBL()
      {
          Receipdetail = new RECEIPT_DETAIL();
          services = new ServicesReleaseSoapClient();
      }
      public void InsertReceiptDeatial()
      {
          try
          {
              services.InsertReceiptDetail(Receipdetail);
              
              
          }
          catch (Exception err)
          {
              MessageBox.Show(err.Message);
          }
      }
    }
}
